export interface ResponseData {
  code: number,
  message: string,
  ok: boolean
}

// 已有品牌对象ts类型
export interface TradeMark {
  id?: number, //?id可有可无
  tmName: string,
  logoUrl: string
}

// 包含全部品牌数据的数组类型
export type Records = TradeMark[] //records数组里面放置多个TradeMark品牌对象

//获取已有全部品牌的数据类型
export interface TradeMarkResponseData extends ResponseData {
  data: {
    records: Records,
    total: number,
    size: number,
    current: number,
    searchCount: boolean,
    pages: number,
  }
}
